<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>登录页面</title>
	<script type="text/javascript">
			
window.onload=function(){  /*加载就会运行的方法  */
		
		var  h = document.getElementsByTagName("h3")[0];
		h.style.color="red";/*改变字体颜色*/
	}
			
			
	</script>
	
</head>
<body>
		<h3 id="hh">欢迎登录！</h3>
		<form  action="user_login.shtml"  method="post">
		
			<input type="text" name="uname"  />
			
			<input type="text" name="upassword"/>
			
			<input type="submit" value="登录"  />
		</form>
		
</body>
</html>